﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage_User.master" AutoEventWireup="true" CodeFile="Trangchu.aspx.cs" Inherits="Trangchu" Title="Untitled Page" %>

<%@ Register assembly="CollectionPager" namespace="SiteUtils" tagprefix="cc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <table cellpadding="0" cellspacing="0" class="style5">
        <tr>
            <td style="height: 19px">
                <asp:Label ID="Label7" runat="server"></asp:Label>
    <asp:DataList ID="DataList1" runat="server" 
        onitemcommand="DataList1_ItemCommand" >
        <ItemTemplate>
            <table cellpadding="0" cellspacing="0" 
    style="width: 100%">
                <tr>
                    <td rowspan="8">
                        <asp:HyperLink ID="hlHinh" runat="server" Height="165px" 
                            ImageUrl='<%# Eval("HinhAnh","~/Pictures/CD/{0}") %>' 
                            NavigateUrl='<%# Eval("MaPhim","ChiTietPhim.aspx?idcd={0}") %>' Width="130px">[hlHinh]</asp:HyperLink>
                    </td>
                    
                    <td align="left">
                        <asp:HyperLink ID="HLTen" runat="server" Font-Underline="False" 
                            ForeColor="#3399FF" 
                            NavigateUrl='<%# Eval("MaPhim","ChiTietPhim.aspx?idcd={0}") %>' 
                            Text='<%# Eval("TenPhim") %>'></asp:HyperLink>
                    </td>
                </tr>
                <tr>
                    <td align="left">
                        Thể loại:<asp:Label ID="Label2" runat="server" Text='<%# Eval("TenTL") %>'></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td align="left">
                        Hãng sản xuất:<asp:Label ID="Label3" runat="server" 
                            Text='<%# Eval("QuocGia") %>'></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td align="left">
                        Diễn viên:<asp:Label ID="Label4" runat="server" Text='<%# Eval("DienVien") %>'></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td align="left">
                        Số tập:<asp:Label ID="Label5" runat="server" Text='<%# Eval("SoTap") %>'></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td align="left">
                        Nội dung:<asp:Label ID="Label6" runat="server" Text='<%# Eval("GioiThieu") %>'></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td align="left">
                        Giá thuê:<asp:Label ID="lbGia" runat="server" Text='<%# Eval("GiaThue") %>'></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td align="center">
                        <asp:LinkButton ID="LBThue" runat="server" 
                            CommandArgument='<%# Eval("MaPhim") %>' CommandName="thue" 
                            Font-Underline="False" ForeColor="#3399FF">Thuê</asp:LinkButton>
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    </td>
                </tr>
            </table>
        </ItemTemplate>
    </asp:DataList>
            </td>
        </tr>
        <tr>
            <td>
                <cc1:CollectionPager ID="CollectionPager1" runat="server" BackText="« Lùi" 
                    LabelText="" NextText="Tiếp theo »" PageSize="5" QueryStringKey="Page" 
                    ResultsFormat="" SliderSize="5">
                </cc1:CollectionPager>
            </td>
        </tr>
    </table>
    </asp:Content>

